import axios from './axios'
import resfulParamsToUrl from './resfulParamsToUrl'
//个性配置新增
export const personalityConfigureInsert = params => {
	return axios.post(
		resfulParamsToUrl('/sys/auth/tPersonalityConfigure/insert', params),
		params,
	)
}
//个性配置修改
export const personalityConfigureUpdate = params => {
	return axios.post(
		resfulParamsToUrl('/sys/auth/tPersonalityConfigure/update', params),
		params,
	)
}
//个性配置删除
export const personalityConfigureDelete = params => {
	return axios.post(
		resfulParamsToUrl('/sys/auth/tPersonalityConfigure/delete', params),
		params,
	)
}
//个性配置查询
export const getPersonalityConfigureModel = params => {
	axios.prototype._loading_ = false
	return axios.post(
		resfulParamsToUrl('/sys/auth/tPersonalityConfigure/getModel', params),
		params,
	)
}
//个性配置查询分页
export const getPersonalityConfigurePageList = params => {
	return axios.post(
		resfulParamsToUrl('/sys/auth/tPersonalityConfigure/pageList', params),
		params,
	)
}
